package com.xiao.dao;

import java.util.List;

public class classtable2 {
    private int classId;
    private String className;
    private List<user2> users;

    public classtable2() {
    }

    public classtable2(int classId, String className, List<user2> users) {
        this.classId = classId;
        this.className = className;
        this.users = users;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<user2> getUsers() {
        return users;
    }

    public void setUsers(List<user2> users) {
        this.users = users;
    }

    @Override
    public String toString() {
        return "classtable2{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", users=" + users +
                '}';
    }
}
